﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SqlServerAdmin;
using IQ.DbBase;

namespace IQ.DbA
{
    partial class FrmStoreProcVars : Form
    {
        #region # Constructor #
        public FrmStoreProcVars()
        {
            InitializeComponent();
        }
        #endregion

        private void btnRun_Click(object sender, EventArgs e)
        {
            if (DbHelper.CanConnect)
            {
                lblBDB.Text = "Database  = " + DbHelper.Database;
                DataTable dtSp = DbHelper.Load_Table(SqlQueries.SqlProcedures);
                grdList.DataSource = dtSp;
            }
        }

        #region - Private variables -
        #endregion

        #region - Private methods -
        #endregion

        //#region - Public properties / variables - 
        //#endregion

        //#region - Public methods - 
        //#endregion

        #region - Bind Methods -
        #endregion

        #region - Form Events -
        // This region is for event handler methods that are called without the user knowing about it.
        // Such as the page loading.
        #endregion

        #region - Control Methods -
        // This region is for event handler methods that are called knowingly by the user.
        // Such as a button being clicked.
        #endregion

    }
}
